<template>
  <div style="width:100vw;" class="application-box">
    <div class="application-header">
      <!-- 返回按钮 -->
      <!-- <mt-header fixed title="申请晋级">
        <router-link to="/Growup" slot="left">
          <mt-button class="back-butt" icon="back"></mt-button>
        </router-link>
      </mt-header>-->
    </div>
    <div class="application-body">
      <div class="dilver"></div>
      <div @click="applicationResult" class="applcation-result flex-row">
        <div class="item-tip">申请结果</div>
        <div class="iconfont icongengduo"></div>
      </div>
      <div class="dilver"></div>
      <div style="border-bottom:0.5px solid #eeeeee;" class="applcation-result flex-row">
        <div class="item-tip">晋级要求：</div>
      </div>
      <div style="height:69vh;overflow:auto;">
          <div class="body-box">
            <div>
              <p class="labels-tips">学历：</p>
              <p class="labels-content">{{applicationList.edu}}</p>
            </div>
            <div>
              <p class="labels-tips">滞留年次：</p>
              <p class="labels-content">{{applicationList.uptime}} 年</p>
            </div>
            <div>
              <p class="labels-tips">专业：</p>
              <p class="labels-content">{{applicationList.major}}</p>
            </div>
            <div>
              <p class="labels-tips">绩效：</p>
              <p class="labels-content">{{applicationList.achievements}}</p>
            </div>
            <div>
              <p class="labels-tips">职称：</p>
              <p class="labels-content">{{applicationList.title}}</p>
            </div>
            <div>
              <p class="labels-tips">能力要求：</p>
              <p class="labels-content">{{applicationList.ability}}</p>
            </div>
            <div>
              <p class="labels-tips">培训培养：</p>
              <p class="labels-content">{{applicationList.train}}</p>
            </div>
            <div>
              <p class="labels-tips">专利及知识产权：</p>
              <p class="labels-content">{{applicationList.patent}}</p>
            </div>
            <div>
              <p class="labels-tips">项目经验：</p>
              <p class="labels-content">{{applicationList.project}}</p>
            </div>
            <div>
              <p class="labels-tips">六西格玛：</p>
              <p class="labels-content">{{applicationList.sixSigma}}</p>
            </div>
            <div style="margin:0.266rem -0.3333rem;" class="dilver"></div>
            <div>
              <p class="labels-tips">备注：</p>
              <p class="labels-content">1、当年必须无严重违纪记录。</p>
              <p class="labels-content">2、本科生及以下初始职级为助理，硕士及以上为师一级，学历不满足要求的各职级滞留年次增加一年。</p>
              <p class="labels-content">3、六西格玛资格暂时做为优先考虑条件，2021年列入晋升必备条件。</p>
              <p class="labels-content">4、本科生实习期为1年，一年后职称评定为助理工程师，可按助理工程师定岗。</p>
              <p class="labels-content">5、硕士学位研究生实习期为半年，3年后可评定工程师职称，半年后上岗可先按工程师定岗。</p>
              <p class="labels-content">6、博士学位研究生实习期为2个月，1年后可评定工程师职称，2个月后上岗可先按工程师职称定岗。</p>
              <p class="labels-content">7、业绩特别突出者，可放宽晋级要求。</p>
            </div>
          </div>
      </div>
      <div class="application-btn-box">
        <div @click="setApproval" class="application-btn">申请晋级</div>
      </div>
    </div>
  </div>
</template>
<script>
import { Indicator, Toast } from "mint-ui";
import { setText } from "../../untils/ddnavigate";
export default {
  name: "application",
  data() {
    return {
      msg: "",
      applicationList: {}
    };
  },
  mounted() {
    // 获取职级信息
    this.$get("getRank").then(res => {
      if (res.success) {
        this.applicationList = res.data;
      }
    });
    // 设置标题
    setText("申请晋级");
  },
  methods: {
    async getRank(){
      
    },
    applicationResult() {
      this.$router.push({ path: "/applicationResult" });
    },
    setApproval() {
      this.$put("setApproval").then(res => {
        if (res.success) {
          Toast({
            message: "操作成功",
            iconClass: "mint-toast-icon mintui mintui-success",
            duration: 2000
          });
          setTimeout(() => {
            this.$router.go(-1);
          }, 2000);
        }
      });
    }
  }
};
</script>
<style lang="less" scoped>
@import url("~@/pagecss/application.less");
</style>